        <?php include_component('report', 'uploadForm')?>
        
        <?php include_component('report', 'loadDistribution')?>
<?php
 
/*
  use_helper("Fusion");
  if ($distribution) {
    $dist  = $distribution->getRawValue();
    
    $count = $dist['count'];
    $hours = $dist['hours'];
    $caption = 'Weekly report from '.$dist['date1'].' to '.$dist['date2'];
    $subcaption = 'By '.$dist['name'];


    chartPie($caption, $subcaption, $hours, true);

    chartColumn($caption, $subcaption,  
      array('work hours' => $hours, 'work items' => $count),
      true
      //array('hours' => array_keys($hours), 'count' => array_keys($count))
    );
    //chartPie($chartCaption, array_values($count), array_keys($count));
  }
*/    
?>